package com.itboye.jmsfhz.data.model;

import java.io.Serializable;
import java.util.List;

public class GoodsDetailBean implements Serializable {

	private static final long serialVersionUID = 1L;
	String id;
	String name;

	String main_img;
	String template_id;

	List<String> imgs;

	String min_ori_price;

	String min_price;

	String cate_id;

	String total_sales;

	int favorite;

	int has_sku; // 是否多规格，0为统一规格，1为多规格

	List<SkuBean> sku_id;

	List<SkuBean> sku_name;

	List<SkuCombinationBean> sku_list;

	AllGroup group;

	public List<SkuBean> getSku_name() {
		return sku_name;
	}

	public void setSku_name(List<SkuBean> sku_name) {
		this.sku_name = sku_name;
	}

	public List<SkuCombinationBean> getSku_list() {
		return sku_list;
	}

	public void setSku_list(List<SkuCombinationBean> sku_list) {
		this.sku_list = sku_list;
	}

	// SkuInfoBean skuInfo;

	String store_id;

	String synopsis;

	String has_receipt;

	String under_guaranty;

	String support_replace;

	String buy_limit;

	String view_cnt;

	String max_price;

	String max_ori_price;

	public AllGroup getGroup() {
		return group;
	}

	public String getTemplate_id() {
		return template_id;
	}

	public void setTemplate_id(String template_id) {
		this.template_id = template_id;
	}

	public String getMin_ori_price() {
		return min_ori_price;
	}

	public void setMin_ori_price(String min_ori_price) {
		this.min_ori_price = min_ori_price;
	}

	public String getMin_price() {
		return min_price;
	}

	public void setMin_price(String min_price) {
		this.min_price = min_price;
	}

	public String getTotal_sales() {
		return total_sales;
	}

	public void setTotal_sales(String total_sales) {
		this.total_sales = total_sales;
	}

	public int getHas_sku() {
		return has_sku;
	}

	public void setHas_sku(int has_sku) {
		this.has_sku = has_sku;
	}

	public List<SkuBean> getSku_id() {
		return sku_id;
	}

	public void setSku_id(List<SkuBean> sku_id) {
		this.sku_id = sku_id;
	}

	public String getStore_id() {
		return store_id;
	}

	public void setStore_id(String store_id) {
		this.store_id = store_id;
	}

	public String getBuy_limit() {
		return buy_limit;
	}

	public void setBuy_limit(String buy_limit) {
		this.buy_limit = buy_limit;
	}

	public void setGroup(AllGroup group) {
		this.group = group;
	}

	public String getMax_price() {
		return max_price;
	}

	public void setMax_price(String max_price) {
		this.max_price = max_price;
	}

	public String getMax_ori_price() {
		return max_ori_price;
	}

	public void setMax_ori_price(String max_ori_price) {
		this.max_ori_price = max_ori_price;
	}

	public String getCate_id() {
		return cate_id;
	}

	public String getSynopsis() {
		return synopsis;
	}

	public void setSynopsis(String synopsis) {
		this.synopsis = synopsis;
	}

	public String getHas_receipt() {
		return has_receipt;
	}

	public void setHas_receipt(String has_receipt) {
		this.has_receipt = has_receipt;
	}

	public String getUnder_guaranty() {
		return under_guaranty;
	}

	public void setUnder_guaranty(String under_guaranty) {
		this.under_guaranty = under_guaranty;
	}

	public String getSupport_replace() {
		return support_replace;
	}

	public void setSupport_replace(String support_replace) {
		this.support_replace = support_replace;
	}

	public String getBuy_limits() {
		return buy_limit;
	}

	public void setBuy_limits(String buy_limits) {
		this.buy_limit = buy_limits;
	}

	public String getView_cnt() {
		return view_cnt;
	}

	public void setView_cnt(String view_cnt) {
		this.view_cnt = view_cnt;
	}

	public void setCate_id(String cate_id) {
		this.cate_id = cate_id;
	}

	public String getMain_img() {
		return main_img;
	}

	public void setMain_img(String main_img) {
		this.main_img = main_img;
	}

	public String getTemplete_id() {
		return template_id;
	}

	public void setTemplete_id(String templete_id) {
		this.template_id = templete_id;
	}

	public String getStoreId() {
		return store_id;
	}

	public void setStoreId(String storeId) {
		this.store_id = storeId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMainImg() {
		return main_img;
	}

	public void setMainImg(String mainImg) {
		this.main_img = mainImg;
	}

	/**
	 * group
	 */
	public static class AllGroup {
		String p_id;
		String g_id;
		String start_time;
		String end_time;
		String name;

		public String getP_id() {
			return p_id;
		}

		public void setP_id(String p_id) {
			this.p_id = p_id;
		}

		public String getG_id() {
			return g_id;
		}

		public void setG_id(String g_id) {
			this.g_id = g_id;
		}

		public String getStart_time() {
			return start_time;
		}

		public void setStart_time(String start_time) {
			this.start_time = start_time;
		}

		public String getEnd_time() {
			return end_time;
		}

		public void setEnd_time(String end_time) {
			this.end_time = end_time;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
	}

	/**
	 * 统一规格
	 * 
	 * @author young
	 * 
	 */
	public static class SkuInfoBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		String ori_price;
		String price;
		String quantity;
		String product_code;
		String product_id;
		String icon_url;
		String sku_id;
		String sku_desc;
		String createtime;

		public String getIcon_url() {
			return icon_url;
		}

		public void setIcon_url(String icon_url) {
			this.icon_url = icon_url;
		}

		public String getSku_id() {
			return sku_id;
		}

		public void setSku_id(String sku_id) {
			this.sku_id = sku_id;
		}

		public String getSku_desc() {
			return sku_desc;
		}

		public void setSku_desc(String sku_desc) {
			this.sku_desc = sku_desc;
		}

		public String getCreatetime() {
			return createtime;
		}

		public void setCreatetime(String createtime) {
			this.createtime = createtime;
		}

		public String getOri_price() {
			return ori_price;
		}

		public void setOri_price(String ori_price) {
			this.ori_price = ori_price;
		}

		public String getProduct_code() {
			return product_code;
		}

		public void setProduct_code(String product_code) {
			this.product_code = product_code;
		}

		public String getProduct_id() {
			return product_id;
		}

		public void setProduct_id(String product_id) {
			this.product_id = product_id;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getOriPrice() {
			return ori_price;
		}

		public void setOriPrice(String oriPrice) {
			this.ori_price = oriPrice;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		public String getQuantity() {
			return quantity;
		}

		public void setQuantity(String quantity) {
			this.quantity = quantity;
		}

		public String getProductCode() {
			return product_code;
		}

		public void setProductCode(String productCode) {
			this.product_code = productCode;
		}

		public String getProductId() {
			return product_id;
		}

		public void setProductId(String productId) {
			this.product_id = productId;
		}

	}

	/**
	 * 是否多规格，0为统一规格，1为多规格
	 * 
	 * @return
	 */

	/**
	 * 所有规格相互组合信息
	 * 
	 * @author young
	 * 
	 */
	public static class SkuCombinationBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		String sku_id;
		String sku_desc;

		String ori_price;
		String price;
		String quantity;
		String product_code;
		String createtime;
		String product_id;
		String icon_url;

		public String getSku_id() {
			return sku_id;
		}

		public void setSku_id(String sku_id) {
			this.sku_id = sku_id;
		}

		public String getSku_desc() {
			return sku_desc;
		}

		public void setSku_desc(String sku_desc) {
			this.sku_desc = sku_desc;
		}

		public String getOri_price() {
			return ori_price;
		}

		public void setOri_price(String ori_price) {
			this.ori_price = ori_price;
		}

		public String getProduct_code() {
			return product_code;
		}

		public void setProduct_code(String product_code) {
			this.product_code = product_code;
		}

		public String getProduct_id() {
			return product_id;
		}

		public void setProduct_id(String product_id) {
			this.product_id = product_id;
		}

		public String getIcon_url() {
			return icon_url;
		}

		public void setIcon_url(String icon_url) {
			this.icon_url = icon_url;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getSkuId() {
			return sku_id;
		}

		public void setSkuId(String skuId) {
			this.sku_id = skuId;
		}

		public String getSkuDesc() {
			return sku_desc;
		}

		public void setSkuDesc(String skuDesc) {
			this.sku_desc = skuDesc;
		}

		public String getOriPrice() {
			return ori_price;
		}

		public void setOriPrice(String oriPrice) {
			this.ori_price = oriPrice;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		/**
		 * 库存
		 * 
		 * @return
		 */
		public String getQuantity() {
			return quantity;
		}

		public void setQuantity(String quantity) {
			this.quantity = quantity;
		}

		public String getProductCode() {
			return product_code;
		}

		public void setCreatetime(String createtime) {
			this.createtime = createtime;
		}

		public String getIconUrl() {
			return icon_url;
		}

		public void setIconUrl(String iconUrl) {
			this.icon_url = iconUrl;
		}

	}

	public static class SkuBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		String id;
		List<String> vid;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public List<String> getVid() {
			return vid;
		}

		public void setVid(List<String> vid) {
			this.vid = vid;
		}

	}

	public int getFavorite() {
		return favorite;
	}

	public void setFavorite(int favorite) {
		this.favorite = favorite;
	}

	public String getTotalSales() {
		return total_sales;
	}

	public void setTotalSales(String totalSales) {
		this.total_sales = totalSales;
	}

	public String getMinOriPrice() {
		return min_ori_price;
	}

	public void setMinOriPrice(String minOriPrice) {
		this.min_ori_price = minOriPrice;
	}

	public String getMinPrice() {
		return min_price;
	}

	public void setMinPrice(String minPrice) {
		this.min_price = minPrice;
	}

	// public String getImgUrl() {
	// return imgUrl;
	// }
	//
	// public void setImgUrl(String imgUrl) {
	// this.imgUrl = imgUrl;
	// }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getImgs() {
		return imgs;
	}

	public void setImgs(List<String> imgs) {
		this.imgs = imgs;
	}

}
